package com.ndp.fb.rdb.model.adpublishcondition;

import com.ndp.fb.rdb.annotation.Column;
import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by Evan on 2015/3/24 15:55.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("ad_publish_condition_detail_account")
public class AdPublishConditionAccount  implements Serializable {
    @Id
    private Long id;

    //column:condition_id
    private Long conditionId;

    //column:fb_account_id
    private Long fbAccountId;

    //column:display_name
    private String displayName;

    //column:is_support_cpa
    @Column(value = "is_support_cpa")
    private Boolean isSupportCPA;

    public void setSupportCPA(Boolean supportCPA) {
        isSupportCPA = supportCPA;
    }
    public void setIsSupportCPA(Boolean supportCPA) {
        isSupportCPA = supportCPA;
    }
}
